package com.ncst.backend.mapper;

import com.ncst.backend.domain.PharmacyRecord;
import com.ncst.backend.domain.FeeItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface PharmacyRecordMapper {

    List<PharmacyRecord> search(@Param("key") String key,
                                @Param("start") LocalDateTime start,
                                @Param("end") LocalDateTime end,
                                @Param("state") String state);

    List<FeeItem> selectFeeItems(@Param("registerId") Integer registerId);
}